.class abstract Lcom/hyphenate/chat/EMSmartHeartBeat$IParams;
.super Ljava/lang/Object;


# instance fields
.field final synthetic this$0:Lcom/hyphenate/chat/EMSmartHeartBeat;


# direct methods
.method constructor <init>(Lcom/hyphenate/chat/EMSmartHeartBeat;)V
    .locals 0

    iput-object p1, p0, Lcom/hyphenate/chat/EMSmartHeartBeat$IParams;->this$0:Lcom/hyphenate/chat/EMSmartHeartBeat;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method abstract getDefaultInterval()I
.end method

.method abstract getMaxInterval()I
.end method

.method abstract getMinInterval()I
.end method

.method getNextInterval(IZ)I
    .locals 3

    const v2, 0x1d4c0

    const v1, 0xea60

    if-eqz p2, :cond_2

    const/4 v0, 0x1

    :goto_0
    if-gez v0, :cond_5

    if-gt p1, v1, :cond_3

    mul-int/lit8 v0, v0, 0xa

    mul-int/lit16 v0, v0, 0x3e8

    add-int/2addr v0, p1

    :goto_1
    invoke-virtual {p0}, Lcom/hyphenate/chat/EMSmartHeartBeat$IParams;->getMaxInterval()I

    move-result v1

    if-le v0, v1, :cond_0

    invoke-virtual {p0}, Lcom/hyphenate/chat/EMSmartHeartBeat$IParams;->getMaxInterval()I

    move-result v0

    :cond_0
    invoke-virtual {p0}, Lcom/hyphenate/chat/EMSmartHeartBeat$IParams;->getMinInterval()I

    move-result v1

    if-ge v0, v1, :cond_1

    invoke-virtual {p0}, Lcom/hyphenate/chat/EMSmartHeartBeat$IParams;->getMinInterval()I

    move-result v0

    :cond_1
    return v0

    :cond_2
    const/4 v0, -0x1

    goto :goto_0

    :cond_3
    if-gt p1, v2, :cond_4

    mul-int/lit8 v0, v0, 0x1e

    mul-int/lit16 v0, v0, 0x3e8

    add-int/2addr v0, p1

    goto :goto_1

    :cond_4
    mul-int/lit8 v0, v0, 0x2d

    mul-int/lit16 v0, v0, 0x3e8

    add-int/2addr v0, p1

    goto :goto_1

    :cond_5
    if-ge p1, v1, :cond_6

    mul-int/lit8 v0, v0, 0xa

    mul-int/lit16 v0, v0, 0x3e8

    add-int/2addr v0, p1

    goto :goto_1

    :cond_6
    if-ge p1, v2, :cond_7

    mul-int/lit8 v0, v0, 0x1e

    mul-int/lit16 v0, v0, 0x3e8

    add-int/2addr v0, p1

    goto :goto_1

    :cond_7
    mul-int/lit8 v0, v0, 0x2d

    mul-int/lit16 v0, v0, 0x3e8

    add-int/2addr v0, p1

    goto :goto_1
.end method

.method abstract getPingPongCheckInterval()I
.end method

.method abstract getPingPongTimeout()I
.end method
